// JavaScript Document

        $(document).ready(function(){
            var topflag = [false,false];
            $(".jstreen>li>span").click(function() {
                var attr_t = $(this).attr('title');
                if(topflag[attr_t] == false) {
                    $(this).next().css('display','block');
                    topflag[attr_t] = true;
                    $(this).children('img').attr('src', '/images/arrow_icon01.png');
                } else {
                    $(this).next().css('display','none');
                    topflag[attr_t] = false;
                    $(this).children('img').attr('src', '/images/arrow_icon.png');
                }
            });
        });
		
		
        $(document).ready(function(){
            var topflag1 = [false,false];
            $(".jstreen1>li>span").click(function() {
                var attr_t1 = $(this).attr('title');
                if(topflag1[attr_t1] == false) {
                    $(this).next().css('display','block');
                    topflag1[attr_t1] = true;
                    $(this).children('img').attr('src', '/images/arrow_icon01.png');
                } else {
                    $(this).next().css('display','none');
                    topflag1[attr_t1] = false;
                    $(this).children('img').attr('src', '/images/arrow_icon.png');
                }
            });
        });
		
	function selsc()
	{
	for (var i=0;i<document.form1.did.length;i++) {
	var temp=document.form1.did[i];
	temp.checked=!temp.checked;
	}
	}